<?php
/**
 * Created by PhpStorm.
 * User: River
 * Email: river0428@gmail.com
 * Date: 2018/6/8
 * Time: 下午5:46
 */

Route::post('/upload', 'UploadController@upload');
Route::post('/api/upload', 'UploadController@upload');
Route::post('/upload_from_url', 'UploadController@uploadFromUrl');
Route::get('/attachments', 'UploadController@index');